import React, { PureComponent } from 'react';
import styles from './index.less';

class ErrorMsg extends PureComponent {
  render() {
    const {errorMsg} = this.props;
    return (
      <>
        <div className={styles.errorMsg}>{errorMsg}</div>
      </>
    );
  }
}

export default ErrorMsg;
